package com.cvo.scrumtoolkit.shared;
import java.util.List;

import com.cvo.scrumtoolkit.server.domain.BacklogItem;
import com.google.web.bindery.requestfactory.shared.InstanceRequest;
import com.google.web.bindery.requestfactory.shared.Request;
import com.google.web.bindery.requestfactory.shared.RequestContext;
import com.google.web.bindery.requestfactory.shared.Service;

@Service(BacklogItem.class)
public interface BacklogRequest extends RequestContext {

 
  Request<List<BacklogProxy>> findAllBacklogItems(Long projectId);

  Request<BacklogProxy> findBacklogItem(Long id);

  InstanceRequest<BacklogProxy, Void> persist();

  InstanceRequest<BacklogProxy, Void> remove();

}